/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-04-17
 * Time: 20:20
 */
public class Test {
    static boolean out(char c){
        System.out.print(c);
        return true;
    }
    public static void main(String[] args) {
        int i=0;
        for(out('A');out('B')&&(i<2);out('C')){
            i++;
            out('D');
        }
    }
}
